/****************************************************************************
**
** ObjectOnCursor.h
**
** Copyright (C) August 2014 Hotride
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
*****************************************************************************
*/
//---------------------------------------------------------------------------
#include "stdafx.h"
//---------------------------------------------------------------------------
TObjectOnCursor::TObjectOnCursor()
:m_Serial(0), m_Graphic(0), m_Color(0), m_X(0xFFFF), m_Y(0xFFFF), m_Z(0),
m_Hits(0), m_MaxHits(0), m_Count(0), m_Layer(0), m_Sex(0), m_Flags(0),
m_Direction(0), m_Notoriety(0), m_NPC(false), m_GraphicIncrement(0),
m_Container(0xFFFFFFFF), m_ImageID(0), m_UsedLayer(0), m_ObjectFlags(0),
m_AnimID(0), m_MapIndex(0), m_Separated(false), m_Deleted(false),
m_Dropped(false)
{
	m_Name = "";
	m_PaperdollText = "";
}
//---------------------------------------------------------------------------
TObjectOnCursor::TObjectOnCursor(TGameObject *obj)
:m_Serial(obj->GetSerial()), m_Graphic(obj->GetGraphic()), m_Color(obj->GetColor()),
m_X(obj->GetX()), m_Y(obj->GetY()), m_Z(obj->GetZ()), m_Hits(obj->GetHits()),
m_MaxHits(obj->GetMaxHits()), m_Count(obj->GetCount()), m_Layer(obj->GetLayer()),
m_Sex(obj->GetSex()), m_Flags(obj->GetFlags()), m_Direction(obj->GetDirection()),
m_Notoriety(obj->GetNotoriety()), m_NPC(obj->GetNPC()), m_ImageID(obj->GetImageID()),
m_GraphicIncrement(obj->GetGraphicIncrement()), m_Container(obj->GetContainer()),
m_UsedLayer(obj->GetUsedLayer()), m_ObjectFlags(obj->GetObjectFlags()),
m_AnimID(obj->GetAnimID()), m_MapIndex(obj->GetMapIndex()), m_Separated(false),
m_Deleted(false), m_Dropped(false)
{
	m_Name = obj->GetName();
	m_PaperdollText = obj->GetPaperdollText();
}
//---------------------------------------------------------------------------